package com.cloud.wms.ui.main.entity;

import java.util.List;

/**
 * @Author:Chen
 * @Date: 2021-01-20 21:56
 * @Description:
 */
public class TitleEntity<T> {
    private long id;
    private String title;
    private List<T> childList;

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public String getTitle() {
        return title == null ? "" : title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public List<T> getChildList() {
        return childList;
    }

    public void setChildList(List<T> childList) {
        this.childList = childList;
    }
}
